Ext.define('vacake.view.Main', {
    extend: 'Ext.tab.Panel',
    xtype: 'mainView',
    requires: [
        'Ext.TitleBar'
    ],
    config: {
        tabBarPosition: 'bottom',
        layout : {
        type : 'card',
        animation : false
        },

        items: [
            {
                xtype: 'homeView',
                title: '主页',
                iconCls: 'home',
                itemId: '1'
            },
            {
                xtype: 'categoryView',
                title: '分类',
                iconCls: 'list',
                itemId: '2'
            },
            {
                xtype: 'usersView',
                title: '我的',
                iconCls: 'user',
                itemId: '3'
            },
            {
                xtype: 'shoppingView',
                title: '购物车',
                iconCls: 'cart',
                itemId: '4'
            },
            {
                xtype: 'moreView',
                title: '更多',
                iconCls: 'more',
                itemId: '5'
            }
        ]
    }
});
